package com.program.houai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.program.houai.entity.UserEntity;
import com.program.houai.entity.VipCardOrderEntity;
import com.program.houai.po.VipCardOrderPO;
import com.program.houai.vo.UserOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: EOrder-master
 * @ClassName: VipCardOrderMapper
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/8/31 9:59
 */
public interface VipCardOrderMapper extends BaseMapper<VipCardOrderEntity> {

    public VipCardOrderPO getOrderInfoByNumber(@Param("txnNo") String txnNo);

    IPage<VipCardOrderPO>  getOrderListByUserId(@Param("page") IPage page, @Param("userId") int userId ,@Param("txnStatus") String txnStatus);


}
